<template>
  <div class="divclass1">
      <h2>Child2 {{ $route.params.id }}</h2>
      这个是个子组件child____2
  </div>
</template>

<script>
export default {
  name: 'Child2',
  data () {
    return {
        
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
    .divclass1 {
        height: 600px;
        width: 600px;
      border:1px solid #a79494;
        margin: 0 auto;
    }
</style>
